﻿using nplJobsCommon.Job;
using nplJobsDAL.Insert;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace nplJobsBLL.ProcessJob
{
    public class ProcessJobApplicationProcedureEntry : IBusinessLogic
    {
        public int lastJobApplicationProcedureID = 0;

        public ProcessJobApplicationProcedureEntry()
        {
        }
        public JobApplicationProcedure JobApplicationProcedure { get; set; }
      
        public void invoke()
        {
            InsertJobApplicationProcedure insertJobApplicationProcedure = new InsertJobApplicationProcedure();
            insertJobApplicationProcedure.JobApplicationProcedure = this.JobApplicationProcedure;
            insertJobApplicationProcedure.Insert();
            lastJobApplicationProcedureID = insertJobApplicationProcedure.lastJobApplicationProcedureID;
        }
    }

}
